package com.base.login.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class RoleInfo implements Serializable {

	@ExcelProperty(value= "角色Id")
	private String roleId;

	@ExcelProperty(value= "角色名称")
	private String roleName;

	@ExcelProperty(value= "类型")
	private String roleType;

	@ExcelProperty(value= "备注")
	private String remark;

	@ExcelProperty(value = "创建时间")
	private Date createTime;

	@ExcelProperty(value = "更新时间")
	private Date updateTime;

	@ExcelProperty(value = "操作员")
	private String operator;

	@ExcelProperty(value= "拥有的权限列表")
	private List<String> permission;


	@Override
	public String toString() {
		return "RoleInfo{" +
				"roleId='" + roleId + '\'' +
				", roleName='" + roleName + '\'' +
				", roleType='" + roleType + '\'' +
				", remark='" + remark + '\'' +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", operator='" + operator + '\'' +
				", permission=" + permission +
				'}';
	}
}
